
#ifndef _CONVERSIONFUNCTION_HPP_
#define _CONVERSIONFUNCTION_HPP_

#include <iostream>
#include <string>

class Fraction
{
public:
  explicit Fraction(double member, double denominator = 1);

  Fraction operator + (const Fraction &f);

private:
  double m_member;
  double m_denominator;

  friend std::ostream &operator<<(std::ostream &out, Fraction &f);
};

#endif